#include <core.h>

int apple_main_init(void)
{
	apple_dict_init();
	apple_module_init();
	return 0;
}

void apple_main_exit(void)
{
	apple_module_exit();
	apple_dict_exit();
}

int apple_main_start(void)
{
	/* TODO: hardcode, read from config */
	return module_call_mod_start("grah");
}

void apple_main_stop(void)
{
}